package club.info.section1_creational.part01_factory;

import lombok.Getter;

/**
 * @Description :
 * @Author : Zhang Pc
 * @Date : 2020/11/28
 */
@Getter
public enum CarTypeEnum {

    BENZ(10000,"奔驰"),
    BMW(20000,"宝马"),
    AUDI(30000,"奥迪")
    ;

    private Integer code;
    private String description;

    CarTypeEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
}
